package com.wyz.easyexcel.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.UnsupportedEncodingException;

/**
 * @author wyz
 * @description: 上传
 * @date 2021/12/28 14:26
 */
public interface UploadService {
    /**
     *  上传
     * @param file
     */
    void upload(MultipartFile file) throws IOException;

    /**
     * 下载
     * @throws IOException
     */
    void download() throws IOException;
}
